#define _CRT_SECURE_NO_WARNINGS 2
#include <stdio.h>
#include <math.h>
int is_prime(int i)
{
	int j = 0;
	for (j = 2; j <= sqrt(i); j++)
	{
		if (i % j == 0)
			return 0;
		else
			return 1;
	}
}
int main()
{
	int i = 0;
	int count = 0;
	for(i = 100;i <= 200;i++)
		if (1 == is_prime(i))
		{
			count++;
			printf("%d ", i);
		}
	printf("\ncount = %d\n", count);
	return 0;
}